package com.som.blog.repository.impl.jdbc;

import com.som.blog.domain.Article;
import com.som.blog.repository.IArticleRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * @author som
 */
public class ArticleRepository extends AbstractJdbcRepository<Article, Long> implements IArticleRepository {
//
//    public static void main(String[] args) {
//        List<Article> articles = new ArrayList<>();
//        Article article = new Article(null, null, null);
//        articles.add(article);
//        IArticleRepository repository = new ArticleRepository();
//        Article article1 = repository.save(article);
//        Iterable<Article> articles2 = repository.save(articles);
//    }

    @Override
    public <S extends Article> S save(S entity) {
        return null;
    }

    @Override
    public <S extends Article> Iterable<S> save(Iterable<S> entities) {
        return null;
    }

    @Override
    public Iterable<Article> findAll(Sort sort) {
        return null;
    }

    @Override
    public Page<Article> findAll(Pageable pageable) {
        return null;
    }

    @Override
    public Article findOne(Long aLong) {
        return null;
    }

    @Override
    public boolean exists(Long aLong) {
        return false;
    }

    @Override
    public Iterable<Article> findAll() {
        return null;
    }

    @Override
    public Iterable<Article> findAll(Iterable<Long> longs) {
        return null;
    }

    @Override
    public long count() {
        return 0;
    }

    @Override
    public void delete(Long aLong) {

    }

    @Override
    public void delete(Article entity) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void delete(Iterable<? extends Article> entities) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void deleteAll() {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}


